import urllib.request

# f=urllib.request.urlopen('https://blog.csdn.net/qq_43239192/article/details/88107395')
# result = f.read().decode('utf-8')
# print(result)


post_url = "http://10.200.251.52:8000/list/1"
# request_param =bytes(urllib.parse.urlencode({"usernames": "1"}),encoding='utf8')
request_param =bytes(urllib.parse.urlencode({"usernames": "1"}),encoding='utf8')

# a = urllib.request.urlopen(url=post_url, data=request_param,timeout=120)
# a = urllib.request.urlopen(url=post_url,timeout=120)
request=urllib.request.Request(post_url,data=request_param,method='GET')
a=urllib.request.urlopen(request)
print(a.read().decode())